package com.huijinhui.wlmtsys.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 团队信息表实体类
 */
@Data
@TableName("teams")
public class WlmtsysTeams implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Schema(title = "团队ID", description = "团队信息表的唯一标识")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 部门
     */
    @Schema(title = "部门", description = "1为行政部，2为运营部，3技术部，4为指导老师")
    @TableField("depart")
    private Integer depart;

    /**
     * 团队名称
     */
    @Schema(title = "名称", description = "团队的名称")
    @TableField("name")
    private String name;

    /**
     * 团队图片
     */
    @Schema(title = "图片", description = "团队的图片链接")
    @TableField("image")
    private String image;

    /**
     * 职位
     */
    @Schema(title = "职位", description = "团队成员的职位")
    @TableField("job")
    private String job;

    /**
     * 个人信息
     */
    @Schema(title = "信息", description = "团队成员的个人信息")
    @TableField("info")
    private String info;

    /**
     * 描述
     */
    @Schema(title = "描述", description = "个人描述")
    @TableField("`desc`")
    private String desc;

    @Schema(title = "核心团队", description = "顺序按core值降序排列")
    @TableField("core")
    private Integer core;

    @Schema(title = "createTime",description = "创建时间",required = false)
    @TableField("create_time")
    private LocalDateTime createTime;

    // Lombok的@Data注解已经包含了getter和setter方法
}